import request from '@/utils/request';

const userApi = {
    queryFilTopUpOrder: '/web/query/top/up/order/form', // 查询已提交的充值订单
    auditFilTopUpOrder: '/web/check/top/up/order/form', // 审核充值订单
    queryWithDrawOrder: '/web/query/withdraw/order/form', // 查询提现审核订单
    auditWithDrawOrder: '/web/check/withdraw/order/form', // 审核提现订单
    downloadWithDrawOrder: '/web/query/withdraw/order/form', // 导出提现审核订单
    queryMachineOrder: '/web/query/machine/order/form', // 查询矿机购买订单
    queryEncapsulationOrder: '/web/query/package/order/form', // 查询封装购买订单
    queryMachineRebateHistory: '/web/query/machine/rebate/history', // 矿机购买返佣记录
    queryTransactionOrder: '/web/query/order/form', // 查询交易订单
    queryTransactionType: '/web/query/order/type/enums', // 查询交易类型
    queryFilecoinSumDay: '/web/query/sum/daily/filecoin', // 查询每日品牌fil币产量
    queryXCHMachineOrder: '/chia/web/query/chia/machine/order/form', // XCH矿机购买订单查询
    queryFILUnionMachineOrder: '/web/query/union/machine/order/form', // 查询FIL联合矿机订单
    queryUserPledgeHistory: '/web/query/pledge/fil/history', // 查询用户的FIL质押记录
    queryBonusPoolsHistory: '/web/query/rewards/pool/history', // 查询奖金池奖励记录
    queryRegisterRewardsHistory: '/web/query/register/rewards/history', // 查询注册奖励记录
    querySpecialRewardsMonthHistory: '/web/query/special/user/rewards/month/history', // 查询特殊身份奖励月记录
    querySpecialRewardsHistoryDetail: '/web/query/special/user/rewards/history', // 查询特殊身份奖励明细记录
    querySpecialRewardsHistorySumRebate: '/web/query/special/user/rewards/month/history/sum/send/rebate', // 查询特殊身份奖励总收益
    querySpecailRewardsHistoryMonthRebate: '/web/query/special/user/rewards/month/history/sum/rebate', // 查询特殊身份奖励当月收益
    authSpecialRewardsMonthHistory: '/web/check/special/user/rewards/month/history', // 特殊身份月奖励记录审核
    queryUserIncomeOrderStat: '/web/query/order/stat', // 查询用户收益支出统计表
    queryUserIncomeOrderStatSum: '/web/query/order/statu/sum', // 查询用户收益支出统计数据汇总
    updateAliTopUpOrder: '/web/add/ali/top/up/order', // 提交支付宝转账充值订单
    queryBrandSumStat: '/web/query/sum/stat', // 查询品牌数据统计
    queryApplyCardRecord: '/web/query/apply/card/record', // 查询信用卡申请记录
    checkApplyCardRecord: '/web/check/apply/card/record', // 审核信用卡申请
    applyProductOrderRefund: '/web/apply/product/order/refund', // 申请产品订单退款
    examineProductOrderRefund: '/web/examine/product/order/refund', // 审核产品订单退款
    updateProductOrderStatus: '/web/update/product/order/status', // 更新产品订单状态
    productOrderSupplement: '/web/product/order/supplement', // 针对失败的订单进行补单
    queryTeamAwardRecord: '/web/query/team/award/record', // 查询团队奖励记录
    updateTeamRebateAwardRecord: '/web/pass/team/award/record', //  审核团队奖励记录
    queryOrderFormTotalSum: '/web/query/order/form/total/sum', // 统计订单总金额和笔数
    queryApplyCardRecordSum: '/web/query/apply/card/record/sum', // 统计信用卡申请次数
    queryUserAccountSum: '/web/query/user/account/sum', // 统计能量水晶
    queryUserSum: '/web/query/user/sum', // 统计用户人数
    queryExternalMerchantOrder: '/web/query/external/release/payment/order/form', // 查询商户订单列表
    queryExternalReleaseOrderNotify: '/web/query/external/release/order/notify', // 查询订单的异步回调
    sendExternalReleaseOrderNotify: '/web/manual/send/external/release/order/notify', // 手动补发异步回调
    queryExternalReleaseOrderRecord: '/web/query/external/release/order/record', // 查询商户订单记录
    queryExternalReleaseOrderSupplementChannel: '/web/query/external/release/order/form/supplement/channel', // 查询商户后台订单补单渠道
    updateExternalReleaseOrderFormSupplement: '/web/external/release/order/form/supplement', // 商户后台订单补单
    submitExternalReleaseOrderFormChannel: '/web/manual/submit/external/release/order/form/2channel', // 手动提交订单给渠道
    cancelExternalReleaseOrderForm: '/web/manual/cancel/external/release/order/form', // 手动撤单
    updateExternalReleaseOrderStatusFail: '/web/manual/update/external/release/order/status/2fail', // 商户后台强制修改订单为失败状态
    updateExternalReleaseOrderStatusSuccess: '/web/manual/update/external/release/order/status/2success', // 商户后台强制修改订单为成功状态
    updateExternalReleaseOrderFailureReason: '/web/manual/update/external/release/order/failure/reason', // 手动修改商户订单失败原因
    queryExternalReleaseOrderChannelStatistics: '/web/query/external/release/order/channel/statistics', // 查询商户渠道订单统计
    queryExternalReleaseOrderStatistics: '/web/query/external/release/order/statistics', // 查询商户订单统计
    externalReleaseOrderFormRefund: '/web/external/release/order/form/refund', // 商户订单退款（只支持h5订单）
    updateExternalReleaseOrderStatusPartialSuccess: '/web/manual/update/external/release/order/status/2partialsuccess', // 修改订单状态为部分成功（通知下游）
    queryExternalReleaseTransactionStatistics: '/web/query/external/release/transaction/statistics', // 查询商户交易统计
    queryAddMoneyOrderTomerchant: '/web/query/addmoney/order/tomerchant', // 商户、代理加钱记录
    updateExternalReleaseOrderStatusHandleFail: '/web/manual/update/external/release/order/status/2handlefail', // 商户订单三方状态强制置为失败
    queryExternalReleaseOrderFormAbnormal: '/web/query/external/release/order/form/abnormal/record', // 查询商户订单异常记录
    updateExternalReleaseOrderFormAbnormal: '/web/update/external/release/order/form/abnormal/record', // 修改商户订单异常记录
    updateExternalReleasePaymentOrderStatus: '/web/manual/update/external/release/payment/order/processing/status', // 手动修改处理中状态的订单
    updateExternalReleasePaymentOrderLastStatus: '/web/manual/update/external/release/payment/order/last/status', // 手动修改最终状态的订单
    queryExternalReleasePaymentOrdeerStatistics: '/web/query/external/release/payment/transaction/statistics', // 查询商户交易情况统计
    manualPaymeentPlaceOrder: '/web/manual/payment/place/order', // 手动代付下单
    queryTopUpEvidence: '/web/query/top/up/evidence', // 查询转账凭证订单
    checkTopUpEvidence: '/web/check/top/up/evidence', // 审核转账凭证订单
    queryExternalReleasePaymentOrderMerchant: '/web/query/external/release/payment/order/merchant/info', // 查询订单代付商户信息
    queryTaskBatch: '/web/query/task/batch', // 查询计划批次
    queryTaskSub: '/web/query/task/sub', // 查询具体子计划
    queryTaskDay: '/web/query/task/day', // 查询日计划
    clearCardAccount: '/web/clear/card/account', // 手动出款
    addTaskDayRepaymentCount: '/web/add/task/day/repayment/count', // 手动增加补单次数
    queryOrderFormDailyStat: '/web/query/order/form/daily/stat', // 查询订单金额汇总
    stopTaskBatch: '/app/stop/task/batch', // 终止计划
    queryJTKUnionOrder: '/web/query/jtk/union/order', // 查询聚推客订单
}

// 查询已提交的充值订单
export function queryFilTopUpOrder (parameter) {
    return request({
        url: userApi.queryFilTopUpOrder,
        method: 'post',
        headers: {
            'name':'queryFilTopUpOrder',
        },
        data: parameter
    })
}

// 审核提交的充值订单
export function auditFilTopUpOrder(parameter){
    return request({
        url: userApi.auditFilTopUpOrder,
        method: 'post',
        headers: {
            'name':'auditFilTopUpOrder',
        },
        data: parameter
    })
}

// 查询已提交的提现订单
export function queryWithDrawOrder (parameter) {
    return request({
        url: userApi.queryWithDrawOrder,
        method: 'post',
        headers: {
            'name':'queryWithDrawOrder',
        },
        data: parameter
    })
}
// 导出提现订单
export function downloadWithDrawOrder (parameter) {
    return request({
        url: userApi.downloadWithDrawOrder,
        method: 'post',
        responseType: "arraybuffer",
        headers: {
            'name':'queryWithDrawOrder',
        },
        data: parameter
    })
}

// 审核提交的提现订单
export function auditWithDrawOrder(parameter){
    return request({
        url: userApi.auditWithDrawOrder,
        method: 'post',
        headers: {
            'name':'auditWithDrawOrder',
        },
        data: parameter
    })
}

// 查询购买矿机订单
export function queryMachineOrder(parameter){
    return request({
        url: userApi.queryMachineOrder,
        method: 'post',
        headers: {
            'name':'queryMachineOrder',
        },
        data: parameter
    })
}

// 查询封装购买订单
export function queryEncapsulationOrder(parameter){
    return request({
        url: userApi.queryEncapsulationOrder,
        method: 'post',
        headers: {
            'name':'queryEncapsulationOrder',
        },
        data: parameter
    })
}

// 查询矿机购买返佣记录
export function queryMachineRebateHistory(parameter){
    return request({
        url: userApi.queryMachineRebateHistory,
        method: 'post',
        headers: {
            'name':'queryMachineRebateHistory',
        },
        data: parameter
    })
}

// 查询交易订单
export function queryTransactionOrder(parameter){
    return request({
        url: userApi.queryTransactionOrder,
        method: 'post',
        headers: {
            'name':'queryTransactionOrder',
        },
        data: parameter
    })
}

// 查询交易类型
export function queryTransactionType(parameter){
    return request({
        url: userApi.queryTransactionType,
        method: 'post',
        headers: {
            'name':'queryTransactionType',
        },
        data: parameter
    })
}

// 查询品牌每日fil币产量
export function queryFilecoinSumDay(parameter){
    return request({
        url: userApi.queryFilecoinSumDay,
        method: 'post',
        headers: {
            'name':'queryFilecoinSumDay',
        },
        data: parameter
    })
}

// 查询XCH矿机购买订单
export function queryXCHMachineOrder(parameter){
    return request({
        url: userApi.queryXCHMachineOrder,
        method: 'post',
        headers: {
            'name':'queryXCHMachineOrder',
        },
        data: parameter
    })
}

// 查询FIL联合矿机订单
export function queryFILUnionMachineOrder(parameter){
    return request({
        url: userApi.queryFILUnionMachineOrder,
        method: 'post',
        headers: {
            'name':'queryFILUnionMachineOrder',
        },
        data: parameter
    })
}

// 查询质押记录
export function queryUserPledgeHistory(parameter){
    return request({
        url: userApi.queryUserPledgeHistory,
        method: 'post',
        headers: {
            'name':'queryUserPledgeHistory',
        },
        data: parameter
    })
}

// 查询奖金池奖励记录
export function queryBonusPoolsHistory(parameter){
    return request({
        url: userApi.queryBonusPoolsHistory,
        method: 'post',
        headers: {
            'name':'queryBonusPoolsHistory',
        },
        data: parameter,
    })
}

// 查询注册奖励记录
export function queryRegisterRewardsHistory(parameter){
    return request({
        url: userApi.queryRegisterRewardsHistory,
        method: 'post',
        headers: {
            'name':'queryRegisterRewardsHistory',
        },
        data: parameter,
    })
}

// 查询特殊身份奖励月记录
export function querySpecialRewardsMonthHistory(parameter){
    return request({
        url: userApi.querySpecialRewardsMonthHistory,
        method: 'post',
        headers: {
            'name': 'querySpecialRewardsMonthHistory'
        },
        data: parameter,
    })
}
// 查询特殊身份奖励明细记录
export function querySpecialRewardsHistoryDetail(parameter){
    return request({
        url: userApi.querySpecialRewardsHistoryDetail,
        method: 'post',
        headers: {
            'name': 'querySpecialRewardsHistoryDetail',
        },
        data: parameter,
    })
}
// 查询特殊身份奖励总收益
export function querySpecialRewardsHistorySumRebate(parameter){
    return request({
        url: userApi.querySpecialRewardsHistorySumRebate,
        method: 'post',
        headers: {
            'name': 'querySpecialRewardsHistorySumRebate'
        },
        data: parameter,
    })
}
// 查询特殊身份奖励当月收益
export function querySpecailRewardsHistoryMonthRebate(parameter){
    return request({
        url: userApi.querySpecailRewardsHistoryMonthRebate,
        method: 'post',
        headers: {
            'name': 'querySpecailRewardsHistoryMonthRebate',
        },
        data: parameter,
    })
}
// 特殊身份奖励月记录审核
export function authSpecialRewardsMonthHistory(parameter){
    return request({
        url: userApi.authSpecialRewardsMonthHistory,
        method: 'post',
        headers: {
            'name': 'authSpecialRewardsMonthHistory',
        },
        data: parameter,
    })
}

// 查询用户收益支付统计数据
export function queryUserIncomeOrderStat(parameter){
    return request({
        url: userApi.queryUserIncomeOrderStat,
        method: 'post',
        headers: {
            'name': 'queryUserIncomeOrderStat',
        },
        data: parameter,
    })
}
// 查询用户收益支出统计数据汇总
export function queryUserIncomeOrderStatSum(paramter){
    return request({
        url: userApi.queryUserIncomeOrderStatSum,
        method: 'post',
        headers: {
            'name': 'queryUserIncomeOrderStatSum'
        },
        data: paramter,
    })
}
// 
export function updateAliTopUpOrder(paramter){
    return request({
        url: userApi.updateAliTopUpOrder,
        method: 'post',
        headers: {
            'name': 'updateAliTopUpOrder'
        },
        data: paramter,
    })
}

// 查询品牌数据统计
export function queryBrandSumStat(parameter){
    return request({
        url: userApi.queryBrandSumStat,
        method: 'post',
        headers: {
            'name': 'queryBrandSumStat',
        },
        data: parameter,
    })
}

// 查询信用卡申请记录信息
export function queryApplyCardRecord(parameter){
    return request({
        url: userApi.queryApplyCardRecord,
        method: 'post',
        headers: {
            'name': 'queryApplyCardRecord',
        },
        data: parameter,
    })
}
// 审核信用卡申请信息
export function checkApplyCardRecord(parameter){
    return request({
        url: userApi.checkApplyCardRecord,
        method: 'post',
        headers: {
            'name': 'checkApplyCardRecord',
        },
        data: parameter,
    })
}

// 申请产品订单退款
export function applyProductOrderRefund(parameter){
    return request({
        url: userApi.applyProductOrderRefund,
        method: 'post',
        headers: {
            'name': 'applyProductOrderRefund',
        },
        data: parameter,
    })
}
// 审核产品订单退款
export function examineProductOrderRefund(parameter){
    return request({
        url: userApi.examineProductOrderRefund,
        method: 'post',
        headers: {
            'name': 'examineProductOrderRefund',
        },
        data: parameter,
    })
}
// 更新产品订单状态
export function updateProductOrderStatus(parameter){
    return request({
        url: userApi.updateProductOrderStatus,
        method: 'post',
        headers: {
            'name': 'updateProductOrderStatus',
        },
        data: parameter,
    })
}
// 针对失败的订单进行补单
export function productOrderSupplement(parameter){
    return request({
        url: userApi.productOrderSupplement,
        method: 'post',
        headers: {
            'name': 'productOrderSupplement',
        },
        data: parameter,
    })
}

// 查询团队奖励记录
export function queryTeamAwardRecord(parameter){
    return request({
        url: userApi.queryTeamAwardRecord,
        method: 'post',
        headers: {
            'name': 'queryTeamAwardRecord',
        },
        data: parameter,
    })
}
// 审核团队奖励记录
export function updateTeamRebateAwardRecord(parameter){
    return request({
        url: userApi.updateTeamRebateAwardRecord,
        method: 'post',
        headers: {
            'name': 'updateTeamRebateAwardRecord',
        },
        data: parameter,
    })
}

// 统计订单总金额和笔数
export function queryOrderFormTotalSum(parameter){
    return request({
        url: userApi.queryOrderFormTotalSum,
        method: 'post',
        headers: {
            'name': 'queryOrderFormTotalSum',
        },
        data: parameter,
    })
}
// 统计信用卡申请次数
export function queryApplyCardRecordSum(parameter){
    return request({
        url: userApi.queryApplyCardRecordSum,
        method: 'post',
        headers: {
            'name': 'queryApplyCardRecordSum',
        },
        data: parameter,
    })
}
// 统计能量水晶
export function queryUserAccountSum(parameter){
    return request({
        url: userApi.queryUserAccountSum,
        method: 'post',
        headers: {
            'name': 'queryUserAccountSum',
        },
        data: parameter,
    })
}
// 统计用户人数
export function queryUserSum(parameter){
    return request({
        url: userApi.queryUserSum,
        method: 'post',
        headers: {
            'name': 'queryUserSum',
        },
        data: parameter,
    })
}

// 查询外放商户订单列表
export function queryExternalMerchantOrder(parameter){
    return request({
        url: userApi.queryExternalMerchantOrder,
        method: 'post',
        headers: {
            'name': 'queryExternalMerchantOrder',
        },
        data: parameter,
    })
}
// 商户订单列表数据导出
export function queryExternalMerchantOrderExl(parameter){
    return request({
        url: userApi.queryExternalMerchantOrder,
        method: 'post',
        responseType: "arraybuffer",
        headers: {
            'name': 'queryExternalMerchantOrder',
        },
        data: parameter,
    })
}

// 查询异步回调
export function queryExternalReleaseOrderNotify(parameter){
    return request({
        url: userApi.queryExternalReleaseOrderNotify,
        method: 'post',
        headers: {
            'name': 'queryExternalReleaseOrderNotify',
        },
        data: parameter,
    })
}
// 手动补发异步回调
export function sendExternalReleaseOrderNotify(parameter){
    return request({
        url: userApi.sendExternalReleaseOrderNotify,
        method: 'post',
        headers: {
            'name': 'sendExternalReleaseOrderNotify',
        },
        data: parameter,
    })
}

// 查询商户充值订单
export function queryExternalReleaseOrderRecord(parameter){
    return request({
        url: userApi.queryExternalReleaseOrderRecord,
        method: 'post',
        headers: {
            'name': 'queryExternalReleaseOrderRecord',
        },
        data: parameter,
    })
}

// 查询商户后台订单补单渠道
export function queryExternalReleaseOrderSupplementChannel(parameter){
    return request({
        url: userApi.queryExternalReleaseOrderSupplementChannel,
        method: 'post',
        headers: {
            'name': 'queryExternalReleaseOrderSupplementChannel',
        },
        data: parameter,
    })
}

// 商户后台订单补单功能
export function updateExternalReleaseOrderFormSupplement(parameter){
    return request({
        url: userApi.updateExternalReleaseOrderFormSupplement,
        method: 'post',
        headers: {
            'name': 'updateExternalReleaseOrderFormSupplement',
        },
        data: parameter,
    })
}

// 手动提交订单给渠道
export function submitExternalReleaseOrderFormChannel(parameter){
    return request({
        url: userApi.submitExternalReleaseOrderFormChannel,
        method: 'post',
        headers: {
            'name': 'submitExternalReleaseOrderFormChannel',
        },
        data: parameter,
    })
}
// 手动撤单
export function cancelExternalReleaseOrderForm(parameter){
    return request({
        url: userApi.cancelExternalReleaseOrderForm,
        method: 'post',
        headers: {
            'name': 'cancelExternalReleaseOrderForm',
        },
        data: parameter,
    })
}

// 商户后台强制修改订单为失败状态
export function updateExternalReleaseOrderStatusFail(parameter){
    return request({
        url: userApi.updateExternalReleaseOrderStatusFail,
        method: 'post',
        headers: {
            'name': 'updateExternalReleaseOrderStatusFail',
        },
        data: parameter,
    })
}
// 商户后台强制修改订单为成功状态
export function updateExternalReleaseOrderStatusSuccess(parameter){
    return request({
        url: userApi.updateExternalReleaseOrderStatusSuccess,
        method: 'post',
        headers: {
            'name': 'updateExternalReleaseOrderStatusSuccess',
        },
        data: parameter,
    })
}
// 商户后台强制修改订单为部分成功状态
export function updateExternalReleaseOrderStatusPartialSuccess(parameter){
    return request({
        url: userApi.updateExternalReleaseOrderStatusPartialSuccess,
        method: 'post',
        headers: {
            'name': 'updateExternalReleaseOrderStatusPartialSuccess',
        },
        data: parameter,
    })
}

// 手动修改商户订单失败原因
export function updateExternalReleaseOrderFailureReason(parameter){
    return request({
        url: userApi.updateExternalReleaseOrderFailureReason,
        method: 'post',
        headers: {
            'name': 'updateExternalReleaseOrderFailureReason',
        },
        data: parameter,
    })
}

// 查询商户渠道订单统计
export function queryExternalReleaseOrderChannelStatistics(parameter){
    return request({
        url: userApi.queryExternalReleaseOrderChannelStatistics,
        method: 'post',
        headers: {
            'name': 'queryExternalReleaseOrderChannelStatistics',
        },
        data: parameter,
    })
}
// 查询商户订单统计
export function queryExternalReleaseOrderStatistics(parameter){
    return request({
        url: userApi.queryExternalReleaseOrderStatistics,
        method: 'post',
        headers: {
            'name': 'queryExternalReleaseOrderStatistics',
        },
        data: parameter,
    })
}

// 商户订单退款（只支持h5订单）
export function externalReleaseOrderFormRefund(parameter){
    return request({
        url: userApi.externalReleaseOrderFormRefund,
        method: 'post',
        headers: {
            'name': 'externalReleaseOrderFormRefund',
        },
        data: parameter,
    })
}

// 查询商户交易统计
export function queryExternalReleaseTransactionStatistics(parameter){
    return request({
        url: userApi.queryExternalReleaseTransactionStatistics,
        method: 'post',
        headers: {
            'name': 'queryExternalReleaseTransactionStatistics',
        },
        data: parameter,
    })
}

// 商户、代理加钱记录
export function queryAddMoneyOrderTomerchant(parameter){
    return request({
        url: userApi.queryAddMoneyOrderTomerchant,
        method: 'post',
        headers: {
            'name': 'queryAddMoneyOrderTomerchant',
        },
        data: parameter,
    })
}

// 商户后台强制修改订单三方状态为失败
export function updateExternalReleaseOrderStatusHandleFail(parameter){
    return request({
        url: userApi.updateExternalReleaseOrderStatusHandleFail,
        method: 'post',
        headers: {
            'name': 'updateExternalReleaseOrderStatusHandleFail',
        },
        data: parameter,
    })
}

// 查询商户订单异常记录
export function queryExternalReleaseOrderFormAbnormal(parameter){
    return request({
        url: userApi.queryExternalReleaseOrderFormAbnormal,
        method: 'post',
        headers: {
            'name': 'queryExternalReleaseOrderFormAbnormal',
        },
        data: parameter,
    })
}
// 修改商户订单异常记录
export function updateExternalReleaseOrderFormAbnormal(parameter){
    return request({
        url: userApi.updateExternalReleaseOrderFormAbnormal,
        method: 'post',
        headers: {
            'name': 'updateExternalReleaseOrderFormAbnormal',
        },
        data: parameter,
    })
}

// 手动修改处理中状态的订单
export function updateExternalReleasePaymentOrderStatus(parameter){
    return request({
        url: userApi.updateExternalReleasePaymentOrderStatus,
        method: 'post',
        headers: {
            'name': 'updateExternalReleasePaymentOrderStatus',
        },
        data: parameter,
    })
}
// 手动修改最终状态的订单
export function updateExternalReleasePaymentOrderLastStatus(parameter){
    return request({
        url: userApi.updateExternalReleasePaymentOrderLastStatus,
        method: 'post',
        headers: {
            'name': 'updateExternalReleasePaymentOrderLastStatus',
        },
        data: parameter,
    })
}

// 查询商户交易情况统计
export function queryExternalReleasePaymentOrdeerStatistics(parameter){
    return request({
        url: userApi.queryExternalReleasePaymentOrdeerStatistics,
        method: 'post',
        headers: {
            'name': 'queryExternalReleasePaymentOrdeerStatistics',
        },
        data: parameter,
    })
}

// 手动代付下单
export function manualPaymeentPlaceOrder(parameter){
    return request({
        url: userApi.manualPaymeentPlaceOrder,
        method: 'post',
        headers: {
            'name': 'manualPaymeentPlaceOrder',
        },
        data: parameter,
    })
}

// 查询充值订单 
export function queryTopUpEvidence(parameter){
    return request({
        url: userApi.queryTopUpEvidence,
        method: 'post',
        headers: {
            'name': 'queryTopUpEvidence',
        },
        data: parameter,
    })
}
// 审核转账凭证订单 
export function checkTopUpEvidence(parameter){
    return request({
        url: userApi.checkTopUpEvidence,
        method: 'post',
        headers: {
            'name': 'checkTopUpEvidence',
        },
        data: parameter,
    })
} 

// 查询订单中代付商户信息
export function queryExternalReleasePaymentOrderMerchant(parameter){
    return request({
        url: userApi.queryExternalReleasePaymentOrderMerchant,
        method: 'post',
        headers: {
            'name': 'queryExternalReleasePaymentOrderMerchant',
        },
        data: parameter,
    })
}

// 查询计划批次 
export function queryTaskBatch(parameter){
    return request({
        url: userApi.queryTaskBatch,
        method: 'post',
        headers: {
            'name': 'queryTaskBatch',
        },
        data: parameter,
    })
}  
// 查询具体子计划
export function queryTaskSub(parameter){
    return request({
        url: userApi.queryTaskSub,
        method: 'post',
        headers: {
            'name': 'queryTaskSub',
        },
        data: parameter,
    })
} 
// 查询日计划  
export function queryTaskDay(parameter){
    return request({
        url: userApi.queryTaskDay,
        method: 'post',
        headers: {
            'name': 'queryTaskDay',
        },
        data: parameter,
    })
} 
// 手动出款
export function clearCardAccount(parameter){
    return request({
        url: userApi.clearCardAccount,
        method: 'post',
        headers: {
            'name': 'clearCardAccount',
        },
        data: parameter,
    })
}
// 手动增加补单次数
export function addTaskDayRepaymentCount(parameter){
    return request({
        url: userApi.addTaskDayRepaymentCount,
        method: 'post',
        headers: {
            'name': 'addTaskDayRepaymentCount',
        },
        data: parameter,
    })
}

// 查询订单金额汇总
export function queryOrderFormDailyStat(parameter){
    return request({
        url: userApi.queryOrderFormDailyStat,
        method: 'post',
        headers: {
            'name': 'queryOrderFormDailyStat',
        },
        data: parameter,
    })
}

// 终止计划
export function stopTaskBatch({taskBatchId}){
    return request({
        url: userApi.stopTaskBatch,
        method: 'post',
        data: {
            'taskBatchId': taskBatchId,
        }
    })
}

// 查询聚推客订单 
export function queryJTKUnionOrder(parameter){
    return request({
        url: userApi.queryJTKUnionOrder,
        method: 'post',
        data: parameter,
    })
}